From a6d06f57b457d9386aeb26e6d6a5fdfa11581037 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 31 Mar 2008 02:01:36 +0000 Subject: [PATCH] If time is available from Garmin, add that to waypoint in get_posn suboption. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3153 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/garmin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index 7048bd9b0..81a95675b 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -265,6 +265,8 @@ waypt_read(void) wpt->latitude = gps_save_lat; wpt->longitude = gps_save_lon; wpt->shortname = xstrdup("Position"); + if (gps_save_time) + wpt->creation_time = gps_save_time; waypt_add(wpt); return; } -- 2.30.2